package com.zhuhjay.eduorder.service;

import com.zhuhjay.eduorder.entity.PayLog;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 * 支付日志表 服务类
 * </p>
 *
 * @author ZhuHJay
 * @since 2022-09-09
 */
public interface PayLogService extends IService<PayLog> {

    /**
     * 生成二维码返回一些信息
     * @param orderNo
     * @return
     */
    Map<String, Object> createNative(String orderNo);

    /**
     *
     * @param orderNo
     * @return
     */
    Map<String, String> queryPayStatus(String orderNo);

    /**
     *
     * @param map
     */
    void updateOrderStates(Map<String, String> map);
}
